package com.gm.wj.util;

import java.util.UUID;

/**
 * @program: wj
 * @description: UUID工具类
 * @author: Huang_shengjun
 * @create: 2020-11-19 10:42
 **/
public class UUidUtils {

    public static String UID(Class<?> clazz) {
        return UUID.randomUUID().toString().toUpperCase();
    }

    // 生成复杂id  35262271-D4F5-47A2-919B-98C9D7E393A9
    public static String UID() {
        return UUID.randomUUID().toString().toUpperCase();
    }

    public static void main(String[] args) {
        System.out.println( UID());
    }

}
